import { createRouter, createWebHashHistory } from 'vue-router'

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/',
            name: 'create-box',
            component: () => import('../layout/index.vue'),
            children: [
                {
                    path: 'create-box',
                    name: 'box',
                    component: () => import('../views/create-box.vue'),
                },
                {
                    path: 'static-rubik',
                    name: 'static-rubik',
                    component: () => import('../views/static-rubik.vue'),
                },
                {
                    path: 'positive-negative',
                    name: 'positive-negative',
                    component: () => import('../views/positive-negative/index.vue'),
                }
            ],
        }
    ],
})

export default router